package com.tong.hao.ac.api.feign.hystrix;

import com.tong.hao.ac.api.feign.test.ITestFeign;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName TestFallbackFactory
 * @Author 友野浩二
 * @Date 2019/12/29 19:50
 * @Description 服务降级类
 * @Version 1.0
 */
@Component
@Slf4j
public class TestFallbackFactory implements FallbackFactory<ITestFeign> {

    @Override
    public ITestFeign create(Throwable cause) {
        return null;
    }
}
